Ext.define('BEST.view.main.Top',{
	extend:'Ext.panel.Panel',
	alias:'widget.top',
	height : 150,
		region : 'north',
		split : true,
		bbar : [{
					iconCls : 'icon-user',
					text : '管理员'
				}, '->',{
					iconCls:'theme-change',
					itemId:'themeChange',
					action:'bbar_theme',
					text:'[更换皮肤]',
					maxHeight:24,
					menu:[{
						xtype:'menucheckitem',
						group:'theme',
						checked:true,
						itemId:'green',
						text:'春意盎然',
						cls:'background-color:green',
						css:'ext-all-green.css'
					},{
						xtype:'menucheckitem',
						group:'theme',
						itemId:'all',
						text:'桔色满园',
						css:'ext-all-e.css'
					},{
						xtype:'menucheckitem',
						group:'theme',
						itemId:'neptune',
						text:'蓝色经典',
						css:'ext-all-neptune.css'
					},{
						xtype:'menucheckitem',
						group:'theme',
						itemId:'pink',
						text:'优雅淡紫',
						css:'ext-all-g.css'
					},{
						xtype:'menucheckitem',
						group:'theme',
						itemId:'classic',
						text:'商务简洁',
						css:'ext-all.css'
					}]
					
				},'-',{
					fieldLabel:'当前时间',
					text : Ext.Date.format(new Date(), 'Y年m月d日')
				}, '-', {
					text : '退出',
					itemId:'logout',
					iconCls : 'icon-logout'
				}],
		bodyStyle : {  
                        'background': 'url('+imgServer+'/main/top-background.jpg) no-repeat #FFFFFF',
                        'line-height' : '72px',
                        'font-size':'22px',
                        'color':'#000000',
                        'font-family':'宋体',
                        'font-weight':'bolder',
                        'padding-left':'20px'
                    }  /*'background: 'url('+imgServer+'/main/top-background.png) repeat #00FFFF;line-height : 50px;padding-left:20px;font-size:22px;color:#000000;font-family:黑体;font-weight:bolder;'
				+ 'background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(153,187, 232, 0.4) ), color-stop(50%, rgba(153, 187, 232, 1) ),color-stop(0%, rgba(153, 187, 232, 0.4) ) )'
	*/
});